-- GENERATED SPELL FOR [Lion Seal] --


function spell0_23887(pUnit, Event) --@Flipper Thwack,n/a--
pUnit:FullCastSpellOnTarget(50169,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23887', 578, 1)
end

function Sorts_23887(pUnit, Event)
local choix_sorts_23887 = math.random(0, 0)
if choix_sorts_23887 == 0 then
pUnit:RegisterEvent('spell0_23887', 1, 1)
end
end

function mob23887_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23887', math.random(1500, 3000), 1)
end

function mob23887_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23887_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23887_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23887, 1, 'mob23887_Action')
RegisterUnitEvent(23887, 2, 'mob23887_Leave')
RegisterUnitEvent(23887, 3, 'mob23887_Kill')
RegisterUnitEvent(23887, 4, 'mob23887_Die')
